Added code and tests for data-tally-attribute error checking.