Tests for "1.".to_yaml (#109)

Tests for "1." issue: https://github.com/tenderlove/psych/issues/109
Oops, forgot about putting this in a topic branch