test for GPMONGODB-342 and GPMONGODB-343