test method validation types