add test script of dynamic 7seg
rewrite test script of dynamic 7seg