Indeed, it fails with the html -- as you rightly pointed out my test was not actually loading the html. Doh! Will fix.