Added new method to use GetPageRecord and unit tests.