Move unit tests to script step; in test.py print out number of failures