test case for reported bug #JENKINS-22011