Writing and testing ExtensionContext and WorkerService