actually fix tests. All tests check status codes and not error text