Add a regression test for:
https://github.com/mongodb/mongo-c-driver/commit/ad47d5c19b852ac9c4d4e82618d64552ac7600f7