Update test to new error content-type