Return non-nil error code on tests failure.