The `length` check is because one test tries to set the length of an Array and it fails without it.