fixed a crash with customBallot that was still calling a deprecated function
updated the unit tests to work with the v5.0 spec