Created shared examples for 'in' validation