Refactor unit tests to test against the model interfaces rather than the
implementations.