Fleshed out more unit tests and added ability to mock responses based on
the request URL path and HTTP method.