testing dupe checking works