Run sql tests on temporary tables.