test for bar chart