Unit testing models and migrations