Completed unit test for: https://github.com/Sammaye/MongoYii/issues/24