Remove rvmrc and fix tests