Added possibility to mock server