tests and code for ballot button customization