Fix to.be.a.function assertion syntax error