Tally Class and Test Class example