Add tests for length property of bound function