Improved escape string delimiter tests