Passing Specs for Searching

Wrote specs for searching.