[JENKINS-20662] Add test.