Update tests for refactor.

I forgot to update the tests in light of the
refactor.