Organize test directory according to component.