Test cases for ESBJAVA-3320