added constructor tests