Fixing a crash in a Jamoma test