test parent class