testing courseinfo methods