Fix pyqt build
Add test for PyQt