TST+DOC: Improve error message for log level, and test HEAVYDEBUG