Change length to getLength
Create test groups for all methods