creating threaded test server