Splits all non-DOM-event-initiated tests into 'unit' directories.