configurable server for tests