Make duration in serial test approximate total run time

The duration argument is supposed to mean how long the test will take to
finish. Before this change, if running serially it would take n*duration where
n is the number of test cases specified to run.

Change-Id: I9bd525b17e41fae811e3bf48642b728151e65737
1 file changed