basic server, called by test