Add unit test for previous change to resign first responder when destroyed.