[JENKINS-22834] Updated tests to approve classpaths.