fixing typos in readme markdown for python testing section
small changes to readme and python file to keep examples in sync, make the example exception clearer