New tests for the RESTful API added.