Add tests for ballots resource classes.