[Truffle] Expect moduleFunctionObject to be unset or a boolean.