added rest-service, but have problem with tests