minor: refactor the page actions test helper some
Merge pull request #74 from azul/minor/refactor-test-helper

minor: refactor the page actions test helper some