Add ValidityView tests

Signed-off-by: marwa rostren <mrostren@obeo.fr>