add election (multi thread) test and pass it