Bug 1070845 - [sharedtest] unit test refactoring for new version chai.assert api

test_agent used very old version chai library version=0.5.3
in the current version=1.9.1 deepEqual take prototype into consideration
does not look chai related but looks to be a real issue... what do you think @davidflanagan