Added test cases

Added test cases for new methods used to add more search functionality