fix DOM traversal

I wrote this while getting a blowjob lol
+ response parser test
response mock