add test for custom loglevel