added test around dispatcher initialisation with null handler registry