Add PyYAML to dev-requirements.txt
Add tests for hashes