Update jsanddom-test.js

test cases added for all the required functions in jsondom.js