Move Proxy to a model module.
Factor the common test helper into its own module.  Move the in-memory tests to their own test module.
Add some model tests for Proxy.