unit tests will check which search mode its in before selecting the desired one