fix regression tests, support fallback mode for proofs