improve tests for unknown values

* don't duplicate 'frame type' test unnecessarily
* test good flags before also testing unknown flags