honor log level
constrain log level display to 4 char for "verbose"
add tests

===== Coverage summary ======
Statements   : 100% ( 89/89 )
Branches     : 100% ( 31/31 )
Functions    : 100% ( 10/10 )
Lines        : 100% ( 89/89 )
rm unused vars
Merge pull request #2 from isao/develop

add tests