Fix PropTypes test in IE10

Test Plan: Ran the test in jest, phantomjs, IE10, Chrome, and Firefox.
Merge pull request #1660 from spicyj/test-ie10-proptypesname

Fix PropTypes test in IE10