Make YAML matching more forgiving.

There needs to be a more robust way to write these tests.