Add test code for initializing Course with name