Added tests for JSONQuerySet. This finishes tests for helpers. Also added a special case for 'to_mongo' calls in JSONMixin and JSONQuerySet