Fix bug in test for rbenv.