Add duplicate removal script for unittest compare