test inheritance implementation added