Fixed failedAddInstallTemplates test.