Add some further tests for the REST API