Added track output test.

Also fixed a typo in track.py