Fix typo and failing test.