As part of a clean shutdown, WiredTiger takes a final checkpoint. Terminating mongod during this process results in an unclean shutdown. During startup recovery, WiredTiger will use the last successful checkpoint taken and replay any journal files. Replication recovery will replay any operations beyond the stable timestamp from the oplog.
This test would verify that startup recovery works as designed following an unclean shutdown during the closing checkpoint.