Fix accidentally-reversed error tests.