spec suite for validate