[PATCH 2/6] Add test for get_source_metadata_filename