watir unit tests for selecting search mode