Initial commit with check-directory-exists.js and its test file.
Added negative test for none directory existence.