Complete test infrastructure for format attributes, first test

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>