Improve team view
Create function search_by_workplace
Fixing tests