[Fixes #6] Add unittests for Team views