forgot to add in a mocked endpoint for test which was making it very slow