Adds tests for item searching.
Breaks the check-if-items-have-been-requested function off into a helper.