Allow 0 runner loops and added some sanity checks

Change-Id: I5124d875ede20efadf36acb37744ed7196928321
Merge "Allow 0 runner loops and added some sanity checks"