fixing unit tests. Possible memory leak in netty code