make unit tests work, add logging configuration for use with testing