http API unit tests created and passing