escape the test keyword to avoid aliases, fix #2867
Merge branch 'master' of github.com:wayneeseguin/rvm
escape all head and tail occurences, update #2861