added xAsVal, tests.
Merge branch 'develop' of https://github.com/rgrannell1/arrow into develop