Add some little tests for sug module.

Numbers of these tests are to be increased in the future; this kind of program
must be trustable.

--HG--
extra : amend_source : 1a9553bb535900b203dbfb5d2e5354b7af939bb0
Add some tests for command line ui.

Even though these tests are very shallow, they are there, and more will come!

--HG--
extra : amend_source : 13509094c98559d61e4d03fc015d7abf37d56a7f