added test for code path where the object passed into `frames` is
does not have a length.