update main files
add test files