fixed logging settings in test.py