Added and passed tests for search page