test_fio.py now select test directory by detecting it first