API Rest example using MongoMock and HTTPretty