added REST API unit tests