Simplest of problems. My model did not extend Base. Now the unit test works.