Skip tests involving db.collectionNames() if MongoDB version < 2.6.