added test for error descriptions. Issue #1503