Added exception unit-tests for invalid object initialization