testing: Make |testRunner| print number of test cases in summary instead of "undefined".
This is follow up patch for commit 577281c6703bd0dc90903101cff93d499ece1016.