fixup wml_macros
fixup _main.cfg files
remove debugging output from unit test
add unit test examples