Improve the logging tests in utils_test.py
Improve the logging tests in utils_test.py

Same tests are performed in library_test.py, but we should have proper tests for
the utils lib on its own.

vpodzime/libblockdev,rhinstaller/libblockdev,atodorov/libblockdev,snbueno/libblockdev,rhinstaller/libblockdev,rhinstaller/libblockdev,dashea/libblockdev,vpodzime/libblockdev,atodorov/libblockdev,snbueno/libblockdev,vpodzime/libblockdev,dashea/libblockdev,atodorov/libblockdev