Add rvm to gitignore
Add test for json-patch