Added tests to verify that error handling works in message converter