Add test for sql-run