Testing addDelimiter method