RF-12768: fixed dynamic tab generation case and its test