Fix equals test