fix config.ml: move *flags to config; "test" should require "all"