add doc and one simple test
check