Why does this throw an error? Can you add some comments about what it is testing?