Add specs for validation component