path filters need love and tests
Merge pull request #49 from yetanotherhacker/filtertest

path filters need love and tests