Adding test case for ESBJAVA-2358