Faking a server with sinon