Added team leader features and tests