Moved a few lines of code around in mtpipeline.py to make it easier to write tests for. Created a mtpipeline_test.py module with a function to test make_output_file for the new filenaming conventions.