Example of sinon fake server implementation