[JENKINS-14154] Added a test to demonstrate JENKINS-14154.