Unbreak search test on olympus
Fix database restriction decorator
Postgres tests are for 3.1 only
Skip pass3 on olympus