If you are not using the `length` anywhere else apart from the tests then I agree it is an overkill.