Tweak example and add a test for the pretend option