Add tests for parse_filename.