test cases for announcement creation and editing

OK, will add parameters.

Don't merge this first. I'm going to write more tests.