Add tests for setDelimiter()