Added pyqt example files and updated some test code.