BF: Fix AttributeError in test main

An AttributeError was raised because the test main was not adapted after
a change of ListWidget to be a GlobSizer instead of just containing one.

Found by pylint.
BF: Fix NameError

A NameError was raised because logging was used but not imported.

Found by pylint.
DOC: Fix typos in source comments and log message