added page visibility test and some test templates