Fix path test cases

First, expect.js has no check .to.be.false,
second, all expect.js asserts are functions which need to be called.
Merge pull request #103 from adrianlang/patch-1

Fix path test cases