added unit test for successful 200 response code