Added two new selfchecks.
-Xarg should work for "default" tests too.
Added function to check if given directory exists.
Added check if test directory exists.