This tests that onSearch fires correctly.

Test Passed

