Adding a way to override test loglevel using a environment variable