Bug1016886/unregister

https://bugzilla.mozilla.org/show_bug.cgi?id=1016886
Make sure to have a test that test the requireParams is present as well.