Adds test for doc format

- Fixes the platform model and test