[JENKINS-15094] - Unit tests for the issue

Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>