REST API tests