JBIDE-18461 - add unit test