Update tests for Qt5