Removed checkDuplicate function from hashtestscontroller