affile: test_affile_open added