Don't test this internal method.

Instead, test that the two calls to `key` were made properly.

You want to test external interfaces that this code calls, rather than the internal interface of this module.