WRITE a UNIT-test for codeanalysis module

NEW FILE test.py       - UNIT-test for codeanalysis module
MODIFIED codebp.py     - FIX some mistakes with pep8 style
MODIFIED codetrace.py  - FIX some mistakes with pep8 style