Implement eof again for test types.