added duration test.