added functionality to have several tests in a row