Fixes error in test

Incorrect test was checking for result value of search result summary,
this moves the check to the correct test.