JBIDE-13246 added test case
small comments added. no jira