Put the equality tests in their own test, so that compile_set mirrors compile_map and I don't repeat the same mistake.