Why is your target duration randomly choosen ?
From what I've been taught this is not really a good practice in unit testing.