[ JENKINS-20544] Added a test case.