Fix memory leak in tests.

QNetworkReply should be removed when finished.

Change-Id: Ifb027d634885f4df26a5807c56b8e9f976b82d0b
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>