add test for -d when one argument is a subdirectory of the other