RA-79: some initial changes: minor refactoring, add assertPage, some simple
asserts, homePage, etc.