also test logger and help options
add set_mode
use set_mode