Is the PhantomJS timeout error you're getting about a missing mocha `run()` call?