Add specific tests for the ModelProxy class.

We were relying on this being tested during configuration until now, but when
the configuration changes we risk losing test coverage.