testing for duplicate gifts