server mockup for the tests