rename package
use enumerate()
rewrite test.py with unittest.