Cucumber tests for search function