JBIDE-18262 - added test

JBIDE-18262 - added test