tests : rewrote errors-object
reverted object.js to last working state AND
wrote more tests to prevent issues
tests : broken input and broken validation are the different source of test failure - added checks for inproper input
tests : broken input and broken validation are the different source of test failure - added checks for inproper input