Start adding IdentityManager tests.

Change-Id: I66c8a3500310d214756f0c19a0fc26883d2da440
Reviewed-on: http://gerrit.dmdirc.com/4037
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>