Update TestUtils.findRenderedComponentWithType

This function gets that actual React component rather than
the element. This allows the tester to call functions like setState
on the component as shown in the new test.
Merge pull request #3093 from Asana/master

Update TestUtils.findRenderedComponentWithType