remove unused import in test_files.py
simplify bin-file test