Test setting the clipboard twice.

Avoid passing the test by coincidence.
Fall back on a local clipboard if the system one is inaccessible.