[tests] Don't test format fallback in the Invalid tests.
[tests] Add format fallback and detection tests.
[text] Add support for comments.