Add test for length option