Added more tests and fixtures

Properly unit testing the library by mocking the XMLHttpRequest
through Sinon.
Removing the 'magic' resolver for the Promise - Promises/A+
library by setting it explicitly.