added bad.cpp to show the use of good() to test the OptionSpec