Fix Dictionary unit test for Qt 5.3 and higher