Fix failing tests

Two of your tests were failing because of commit
1e71df5399e4c94511e587fa368e7c57a537dc91
I fixed them by:
1) Using jasmine's spyOn in ReactCompositeComponentError-test.js
2) Inverting the function wrapping in the above commit.
Godspeed.