fix issue with specs

timeout issue when running tests was because of document.body.innerHTML
=