Fix the tests of the courses importer.