for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2