update tests for env vs. args, opts, meta
lint validthis:true
opts.debug is parsed as opts.loglevel now