added generic constructor tests