Rest unit tests refactored. Now using mock instead of asserting db changes
Refactored search functionality. Search is paginated now
Add warning when no result found for search