more sql tests