Import cartodb/lib/sql/test, add search_path tweaker