Revrite REST API tests.