#6: wrote functional test coverage for teams view