Testing xbp class