Make test_all working with file arguments.