Don't leave the maximized frame created in the test case for getting events from it lying around needlessly.