This should probably be `to.beIdenticalTo`. `equal` may use a less stringent comparison here.