test: make sure current run result is pushed and reset
Because the currentRun
result is only pushed into runs
after the second test run finished, therefore all the runs
array's length is 1
(with 2 runs results concat into 1 big string). Added assertion to make sure runs
have the correct length (number of runs).