diff --git a/test/addons/unpacked-addon/test/test-main.js b/test/addons/unpacked-addon/test/test-main.js
index <HASH>..<HASH> 100644
--- a/test/addons/unpacked-addon/test/test-main.js
+++ b/test/addons/unpacked-addon/test/test-main.js
@@ -7,18 +7,18 @@ const self = require("sdk/self");
 const url = require("sdk/url");
 const { getAddonByID } = require("sdk/addon/manager");
 
-exports["test self.packed"] = function (assert) {
+exports["test self.packed"] = (assert) => {
   assert.ok(!self.packed, "require('sdk/self').packed is correct");
 }
 
-exports["test url.toFilename"] = function (assert) {
+exports["test url.toFilename"] = (assert) => {
   assert.ok(/.*main\.js$/.test(url.toFilename(module.uri)),
             "url.toFilename() on resource: URIs should work");
 }
 
 exports["test Addon is unpacked"] = function*(assert) {
   let addon = yield getAddonByID(self.id);
-  assert.ok(addon.unpacked, "the addon is unpacked");
+  assert.equal(addon.getResourceURI("").scheme, "file", "the addon is unpacked");
 }
 
-require("sdk/test").run(module);
+require("sdk/test").run(exports);
Issue #<I> updating the unpacked test add-on