[JENKINS-19488] test for #938