add netty test code