add tests for error message and post-save behavior