Revert "Revert "Improve unittest summary: list tests that failed.""

This reverts commit 4cfe6191bd755bb4a858dd79c3525b568985bdd0.