create rest-api integration test