testEqualsObject() in RegistersTest passes.