test framework for PAGE