ISSUE-36: added test