test: check that reads beyond the end of a file return short