modified constructor tests.