Make examples in README pass tests in Py 3.4