+testing_opts = optparse.OptionGroup(optparser, "Testing")
+testing_opts.add_option('--test-mode', dest='test_mode',
+ action='store_true', default=False,
+ help="Starts test mode, which provides a few"
+ " (utterly unsafe) APIs for testing purposes and"
+ " sets up a special connector which always raises"
+ " errors on tentative server access. These errors"
+ " serialize RPC query information (service,"
+ " method, arguments list) in the fault_code"
+ " attribute of the error object returned to the"
+ " client. This lets javascript code assert the" \
+ " XMLRPC consequences of its queries.")
+optparser.add_option_group(testing_opts)