Now use Eof instead of Peek == Eof in basic test
Added Last command
Added documentation and an example