hacked in some testable functionality in the copy button