Add ok_candidate_len to testhelper
Implement new APIs for candidate list control
Add test_cand_choose_second_layer