I think we should copy this test https://github.com/mozilla/addon-sdk/blob/master/test/test-self.js#L45-L65 in to this file.