I think that vows has a `assert.isFunction()` that can be used here instead of checking by typeof