add test for JENKINS-20165