added assert to test reverse of equals test