remove unused tests
clean up and document existing tests
mock a successful request
fix error handling and add tests