rewrote the test sot hat it wasn't dependent on random stuff
Merge branch 'fix_search'