clip tests for API REST calls