tests for select
travis has older pg which does not support dropdb --if-exists
first cut of upsert