Rearrange test directory structure.