moved the code to insert test server information to use it from other tests.