added another test code (Inheritence)