Add error test.
Status code test now fails as expected.