A mock server implemented in python