Added a method + unit test to team class, adjusted the java interface for this object