setup server when running integration test