Update tests and example for python to match information in readme.

re #1310