Fix invalid extend test: _.keys uses hasOwnProp

Fix test to check for the change made in #1770. Currently this test would pass both before and after that change since `_.keys` uses `hasOwnProperty` anyway.