gh-#467 removed references to unittest. Fixed spelling of pytest in example.