refactoring for test server