Add test showing how error translation works in FormHelper.

Refs #5382