first commit of register page tests, could definitely stand for refactoring