Bug 1026424 - Remove frame switching in gallery app tests where possible

Yeha I considered that but I decided not to hardcode the names into it.