Added tests for team routes