Test model saving.