Adding tests for Team object, handling case when team does not exist.