Fix rvm module test for adding cwd argument