add a test for wayneeseguin/rvm#2228