fix broken tests with mongodb 2.6 (see locomotivecms/custom_fields#31)