change from optparse to argparse, add cli tests
Merge pull request #20 from gbadiali/master

Replace optparse with argparse, add command line parser testing