Refactored request method to take the page to fetch as a parameter
Request method now also takes an errorHandler
Tests passing