Using a mock to test the full fetch method, without a server