add doctests
add doctests to README
add more doctests, yum