update test
add comments
update example