the first will check after we hit `return` that the search term is what we search for 

the second will check that the expected `type` is correct