mock object support for nodejs