Test class parsing