Added support for hidden apps (bug 1019249, 1019251)

there's gotta be a way to make these tests more DRY. can we?