tweak perf test to exercise flow path
fix example code