cleanup: ck_cohort validation test

Removed unnecessary includes and fixed shadowed variable warning.