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.