raise TagAlreadyAssignedError if it is attempted to assign the same tag to one entry multiple times
fix duplicate tag test