duration test in ProcessSpec