Wrote tests for Search class.