The `it` block states 'returns a function to be called' but the expectation checks that the `typeof` is not a function, I find the two at odds am I misunderstanding something?