updated pytest for bunch_subclass