Add size method.
Add more tests, for range, range_list and cli.