adding constructor tests