TST: add basic clipboard test

Also add support for PySide
Merge pull request #4282 from cpcloud/add-clipboard-test

TST: add basic clipboard test