Added page layout check function to BaseTest