re-write announcement test cases( refine coding style )