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

+1