register shutdown method bug fix - only delete test files for volume targets