Use pyqt4 for display, unittest