Fix corpus test execution to be deterministic