PEP8 corrections
test and examples updated