search tests and search works

PLEASE PULL ME.