Fixed SearchOracle tests

TBR