secondary and primary category test