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