Fix 'unsupported address type error' in UDP tests / Fix checkstyle