Fixed failing test for JENKINS-19558