updated special char test case, added special entity lib for later use