Fix markdown bug multiple multiplechoice

This bug affects the case of more than one multiplechoice
all in one problem.
Also adding a test case for this form. @jbau