A focus on R&D has a new wave of fashion companies testing designs the way developers test software