Correct broken build from previous commit

 * replaced <br /> with <br> in html error messages
 * corrected tests