Fix test to see if vim exists.

Was redirecting to dev/null instead of /dev/null.