embedded example test and test output in README.md