Duplicate test for py2/3 and pyyaml safe_load()