Implemented length2 method test