Corrected references to the functions that are now in addonAPI. Split tests for addonAPI and addonConfig.