[Eden] Create a Generic Test Function for Search Tests
completed by: Aviral Dasgupta
mentors: Michael Howden
http://eden.sahanafoundation.org/wiki/Contribute/QA#CreateaGenericTestFunctionforSearchTests
completed by: Aviral Dasgupta
mentors: Michael Howden