output test stats at the end of run