add test for errorbars