exclude vim temporary files from tests.

TODO: use a regular expression to filter valid tests.