fix specs and bug when parsing a course with no files