test cases for announcement creation and editing