Remove warning message, improve assign_file test