constructor tests