shared/mock/helpers.js

review isObject check
test helpers.extendsFn with 2 functions