GRECLIPSE-1720 Added unit test for the scenario