Added test set to .gitignore
Added test dir to test R-scripts (test data omitted)
Refactored r-scripts