Fix unit test for rest-api