Add test for check for course instance id