Tests for "1.".to_yaml: https://github.com/tenderlove/psych/issues/109

Tests for "1." issue
Oops, forgot about putting this in a topic branch