refactor GroovyPageUnitTestMixin