wouldnt the logic be similar to assertIdenticalObject() in the same file ?