Add model and tests.