IDE-1661 added two unit tests