Issue #3446612 by ptmkenny: test message form should show a useful error message, not throw an exception