refactor(tests): moving resetContent

Moving the reset of the content inserted in the document for future implementation
of the tests that will allow to change the markup easily