Add error message smoke tests

These tests verify that when a server sends an error response
we can properly display an error message to the user.

cc @kyleknap @danielgtaylor