added test-tally.R