fixed test case for special chars