Functions and fixture to test CF code.
Create some dataset attributes for testing purpose.
Attributes, encoded attributes, encoded and flattened attributes