added test failure conditions to R wrapper test
updated .gitignore