Added TOML to unittest battery
Fixed log level handling