updated integration tests to use AGPageConfig object.