exclude folders from test files

Tests broke on my machine because my IDE ( webstorm ) added a hidden folder to the test folder. 
Which then throws an error when using node ```0.10.21``` because ```run.js``` will attempt to regenerate this folder.

I'm not sure if this is a fix you want but it worked for me.