test codes for courses