CodeReview testing mechanics added

Tested in Firefox, HtmlUnit
I''d create a separate method to set N of lines and another method to set the content. And would remove this method, it seems overcomplicated.