Test case for Netty issue #2179