We need comfortable way to write add-on related tests. And need to get a decent test coverage for the new API.
Since Bug 1175770 has a patch with some initial tests, I think the first part is covered and this bug should focus on getting the test coverage. I'm transforming this bug into a meta bug for tests.
I figure that it should be possible for add-ons developers to write unit tests in a "comfortable way" too, like was possible with jpm or cfx, which is bug 1223616. Maybe this bug should depend on it?
I'm trying to keep make sure P1s are assigned to people, so dropping this down to P2 since its a tracker.