add test in examples.R for x2Axis and xAxis