Might be good to also allow a "search string" rather than an "expected val".