[cvio] add document resource test
[cvio] add template validations