Added tests on constructor