Fix sql_read_parameters tests