Make mocking random models easier

Right now it's quite cumbersome to mock "a" model (where a test needs a model, but not a specific model).

Make it easier. Also address the way model-not-found errors are reported.