Adds test for doc format

- Fixes the platform model and test
Merge pull request #39 from lukecampbell/assocs-rb

Adds test for doc format