Fix for TestPageType