Added reference equals test