Fix failures caused by static factory.
Fix failures caused by static factory.

Can't register it separately for each test, as it'll just end up
using the first one. And the API doesn't let you remove factories :(

ShaneMcC/DMDirc-Client,greboid/DMDirc,csmith/DMDirc,ShaneMcC/DMDirc-Client,csmith/DMDirc,csmith/DMDirc,ShaneMcC/DMDirc-Client,csmith/DMDirc,DMDirc/DMDirc,ShaneMcC/DMDirc-Client,greboid/DMDirc,greboid/DMDirc,greboid/DMDirc,DMDirc/DMDirc,DMDirc/DMDirc,DMDirc/DMDirc