CandidateController unit testing complete

Signed-off-by: humanbeen <human.be2n@gmail.com>