BATCH-2149

Fix for BATCH-2149 in branch 2.2.x. Test registers ChunkListener twice for checking validity of fix.