Added tests for constructors