add sanity for votes
lint sanity scripts
fixes to sanity scripts