added test
logging enhancements