added missing json files for test cases, Added WorkspacePref.template to karma-offline and karma-web