Created a test and function for handling multiple delimiters