Added "-n" option, allowing tests to be repeated