Enhanced runtest to output a list of failed tests