Update testrun.cc

Changed name of a function to harmonise it with the other code