add a couple unit tests for the search route