run_tests.py now returns the correct return code.
Moved print_tracks() up a bit.