[#30] Added more integration tests for the CASE expression

Update the code, if the sql parses error, then prints the error message.