Add a test for the basic usecase of YAML::Dumper

This basically implements the minimal usecase of YAML::Dumper
in direct invocation.

If YAML::Dumper fails, so will this test, and it will output the
exception via `diag`