modified the chdir(2) test to take into account nonexistant directories.
modified chdir-wrapper to killall already running test-chdir instances.
modified chdir-wrapper to cleanup it's environment whenever it is killed.
added a test for chdir(2)ing into a folder with bad permissions.