Add more test cases and rename sql_fail to fail_sql to avoid ignoring by .gitignore