Fix #1323
Fix some backend error messages.
Issue #1323: Test