Add ability to repeat the test n times.