bug952301 - Export methods and enable them on unit test

https://bugzilla.mozilla.org/show_bug.cgi?id=952301