check for dup proc by comparing call value of a test proc