Added tests for error bars.