testforclass