Fix App#launch and clean up tests
Handle gecko context properly