CodeReview testing mechanics added

Tested in Firefox, HtmlUnit
I wonder whether we can improve the readability of the test, because here it's not clear where 'multiple lines' come from. Maybe it's better to add another method that accepts `numberOfLines`?