NOJIRA fixes exception if a map is defined but no courses have been
selected.
NOJIRA Fixed compile issue in Test code