Add tests for XmppServer shutdown

Change-Id: I05c4a492e91bccfa1256f2458cff15d1e94c471e