example and readme update
updated tests to match lib
test updates