Added test for successful searching