added unittests
added unittests

Change-Id: Iefbd4ce4af73980122e97bd73e7f120d3e9adc61
Reviewed-on: http://codereview.qt-project.org/3423
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Alex <3f9b327efd0f2b2e684d51660e829d1496ae5581@nokia.com>

qtproject/qtsystems,qtproject/qtsystems