IW: Start testing

Minimal karma testing integration. 
Ah, OK. Well I can't remember what else ```tile.xhr``` is used for. We could remove it entirely if not needed (I think it's used to cancel pending requests?), or store the response body itself on the tile but not the whole xhr object, or we could leave it as-is and remove the additional argument to ```parseTile``` here.