Add test for variable type which Data-Dumper does not handle.

Improve punctuation in fatal error messge.

Related to: RT #101508.