added a unit test for courses