Added tests for model and form.