/objectbrowser unit tests

Added tests for add object

Affects #176