Actually I found that testing DIRECTORY could be dangerous because it calls recursive_delete on some random files. So one has to be cautious about testing this class. In my case it had deleted the all $ISE_LIBRARY/library/base/testing content.