Added eof_check examples