Corrected make_output_dict so that it correctly handles the path to the input file. Added a test to look for correct path handling. For Ticket #143.