Adding integration test for server