Add function to test for valid delimiters