Set default flag attributes

The flag options defined as "--[no-]foo" were being set in the
attributes hash as :"[no_]foo" => true/false.

This change may break other tests, as it sets up the defaults in the
test cases according to the option definition, rather than defaulting to
false (as previously).