Classification Based on Testing Objectives