fixed constructor tests