Added the search tests

It's uncompiled so there probably are errors.