Add tests for the XMLHttpRequest `responseType` property

Closes #260.