test for read past end of fd.