Add test for Market class 'search' method