some fix. add test files for demo