Added tests to rm of test dir in tree for speculative bug fix