Fix AddonManagerTest to function with new Registry API and ClasspathWorkspaceResolver