Add a test suite for this library similar to https://github.com/mozilla-b2g/gaia/blob/master/apps/homescreen/test/unit/request_test.js