Test for twelve

Implements overridable XHR method and test for #12