Tests for additionalProperties, patternProperties

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