Cleaned up the formats unit test. Matches to regex now.