Increase code coverage

* Added some missing exceptions catchs
* Added some corner cases in object field tests