Add executable bit to tests, fix typo in doc.
Fix for empty courses.