As per review feedback, I made the PyYAML support optional so there is a "nice" error message when it isn't installed.  This means it is a test dependency and not a hard dependency.