checks sth sanity before executing tests for the search function