test case for ESBJAVA-3258