Added test cases for searching in empty string