[JENKINS-21014] include verify in upstream candidate calculation
-added unit test