oops, need to add space in function declaration
remove debug print
simple unit test script
improve tests, add tests for bool flags