rewrite splitStr to fix bugs
init test/