filter the files in the test

This will remove troubles with vim .swp files etc
Merge pull request #74 from haeric/filter-test-files

filter the files in the test