[test] replace \==.complement by simpler \~==

should make @cgay happy