Replace data-test-course and data-test-unsucceeded with data-course-key