Fix failing search test (had some bad assertions)