added tests and x12
Merge branch 'master' of https://github.com/rbagd/r-scripts