Complete attribute tests for all common v3/v4 attributes

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>
Complete format attribute tests

Which means the user API can now be done. Validation complete for both v3 and
v4.

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