Fix test errors.

Fixes a minor typo and the tests all run.