Unicode bugfix, improved tests to make them compatible with MongoDB 2.6.1.