removed test directory and improved rvm integration