Added test for jira issue HHH-8775