Add iotest for rust

Extend example by adding line numbering