Silence noisy factory loggers in lms unit tests
fix pylint errors in test.py