added voter functionality and tests