edit: fix params for simple scripts

Signed-off-by: Stephen L. <lrq3000@gmail.com>
add: more test cases in test_unit.m

Signed-off-by: Stephen L. <lrq3000@gmail.com>