Rest api and unit test #26