add test cases for candidate
add more entires print out feature for testify