duration test for constructor