more integration test with rest service