Added test for Qt's signal/slot.