Fix for #1223

This is still broke.
Actually, I can. The main reason you can't have symbolic links in a `test` folder is because of this function, or mocha would always fail. What we can't assume is that all the symbolic links created will match a pattern.