Add test for `print_files()`.