Add test against sibling to prevent exception when sibling is nil.
Merge pull request #75 from freeformsystems/master

Minor change to document.rb to prevent exception if sibling is nil