shared/mock/helpers.js

added function to extends function prototype
use helpers.extendsFn