test length value equality