Fix sql tests?