extra checks in parseEscape unittest