finalize watch_modules unit tests, handle log level names