Add test for sub_filename.