working on testing REST API