Added the tests suite for ObjectError
Added test to error class

Thes to implement object fetching from ObjectError were added.
Added test for equality