[JENKINS-22834] Added tests for classpath identity.