Testing of file handle.