tests for isElement; isObject/isFunction from lodash