added doc and test files