worked through issues using PyCharm

Signed-off-by: Joseph A. Lutz <CipherWizard@cipherwizard.net>
Used figlead to do code coverage using the unit tests as the programs

Signed-off-by: Joseph A. Lutz <CipherWizard@cipherwizard.net>