Bug 1046828 - proper test for show event

The only thing that worries me about this is that `client.switchToFrame` or `client.scope` may throw an error, and we would ignore that here. Let's default to applicationLaunched to `true` and only set it to false if we catch `err.type === 'NoSuchElement')`. What do you think?