Added unit test for command line flags/defaults