Tests for use of the REST API