Candidate Test Code