make example produce valid output; show how to enable selftest