Fix test for Array.to_mongo

Hashes are not ordered deterministically, so we can't expect the result to be ordered.