Move sexp into query
Only run short tests on travis

Long tests are potentially very long, and may timeout internally. So
don't run them.