mongo: fix tests