heh ... of course, our parser for *.cf files has to read this in and not truncate it for the test to test what you want - otherwise, the edit-lines activity shall leave a nice truncated file for the test bundle to read in (and not barf on).
Is it worth including a check that each key does contain the text "root@host" (i.e. the end of the line wasn't missed out) ?