simple test utility for simulating interaction with PyQt widgets