Fixed testing code for faceted graphs