Unit test for mygetline() by using MinUnit

http://www.jera.com/techinfo/jtns/jtn002.html