Adds test for doc format

- Fixes the platform model and test
Once you get something the way you want it, save it and make a test out of it so that the format doesn't change without breaking a test.