Test 'getPages' and 'equals' methods