Renamed expects docs section to reference
Fixed pep8 in code examples