Add tests for search action in users controller