Fixed failing test for JENKINS-25593