Improve output of test.py

Add some extra whitespace and report number of failures.

Change-Id: I359b6c5d78dc11c50386be9fc4385a4e8cccb921
Merge "Improve output of test.py"