JBIDE-14993 added unit test