Updated tests so that they actually do something
Added some more checks for search results. Probably fixes #6