Add tests for the length property of a bound function