Add a test for the function’s length