search tests working again after DOI change

Less Mac-specific too. Works on Ubuntu. Also, since
there is no more PostgreSQL-specific reference data
with a hard-coded role, we can delete our fix.