Added test for cd-ing to a noen existing directory

Added test for cd-ing to a noen existing directory. Like #10, this change also ensures that all test implementations for `exists` are deferred via `lib/next_tick.js`.