Add Behat tests for team management