Load YAML properly by requiring it

One of the specs was failing on my local machine because
YAML was an uninitialized constant. By explicitly requiring
it I fixed the issue.