add test of the examples in README