Added unit-tests for object instance creations