mongo: add unit tests from mongo-glib.