add code coverage for master_file_controller