Added MockRunner for loop test.
Depracated old input code