tests: add test for bson_iter_as_bool().