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

Replace calls to these functions with querySelector and querySelectorAll