5s timeout in search tests

Hopefully this will stop the search tests timing out waiting for
elasticsearch. Previously the timeout was 2s, which is enough most of
the time, but occasionally the tests would fail.