Fix graph styles and tests