Add test case and update doc
delete unused files