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.
Merge pull request #524 from brainkim/suchfailing-wow-sotest

Fix failing tests