JENKINS-20721 Added testcase