Fmt tests

A PR to add the skeleton of tests for the format parsing.

Please merge this into your branch and flesh out the tests by adding more test-cases.  We might want to be exhaustive on the passing tests and probably should add a test of the one rcparam this function looks at.