add fileio tests
__enter__() and __exit__() in IOBase