Adding spec to cover equality of frozen objects, per GitHub issue #266
[Finishes #50607273] - added specs to cover the cases from GitHub issue #371