fix SwitchToCostumeTest

* refactor test to run with new spinner navigation
* add UiTestUtils method to wait for a fragment