JENKINS-17508 removed usage of deprecated elements in test