Added unit tests for Length class