backporting test for Nanoc::CLI.after_setup