fix rubocop, add chefspec test for LogLevel