Fixed: new file API test caused 'Cannot find function setAttribute in object [object Object]' unit test error.