improve management of test directories

I would move this up to a new static field next to `TEST_IN_SAME_PROCESS`