Converted ExtensionManager to a Singleton. Added Mac specific extension tests.