Added log event test
pep8'ed tracks.py