Modified hooks test to avoid problems with MongoMapper's proxy
Added mongo_mapper environment config for Travis