Base models and tests.