Created 10th test: delimiters of any length, also fixed code and optimized