Tests: Fix test for copy/paste for TextField

The copy() function was testing nothing and was not called.

Change-Id: I2b23e1cd206e0247949173f4aee8c60852c5b0d1
Reviewed-by: Liang Qi <liang.qi@digia.com>