Make registration of extra hooks part of TestClassLoader plugin's registration