Test case for ESBJAVA-3291