Add tests for XmppServer shutdown

Change-Id: I8a7326b5be99d86bea39b85ebb2f5c6e8dcc9095