Merged testbench test for #7110 from 6.8 (fix not needed for 7.0)

Change-Id: I14e02a02d77420e601ec5f98d70453fa85f1a473
svn: http://dev.vaadin.com/changeset/0000025944/svn