Updated REST API tests.