Created search.rb and search_test.rb files