Remove extra whitespace
Document `contents` and add test
Merge pull request #270 from jugglinmike/doc-contents

Document `contents` and add tests