Added test to check if the parser handles invalid characters correctly