add tests to testspecapp for visibilitystate
testspecapp bigger timeouts for ios to handle animations of layer pushes