CLN/TST: split test_format.py
`test_format.py` is still a huge file, so in our restructuring of the tests, I think splitting up `tests/formats/test_format.py` in multiple files would help. 
For example, the tests regarding `to_html` and `to_latex` can get certainly their own class/file.