changed the selenium tests to follow the pageObject pattern