Fix the equality tests to really do what we want.
equality for Klein and KleinResource