Sketch compiler.compile
Factor out example testers into safety.js