add tests in examples.R for x2Axis