Fix tests for react-source 0.9

Tests were not passing due to some changes in `React.js` itself after upgrading 0.8 -> 0.9.