fix test for errorbars