Separated out testing to test.py. Added a timeout for timecode waiting. When it is reached the tc is set to 00:00:00:00, which should probably just result in an error instead.