Add validator testing for anyOf

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