clipboard: fix `let @+ = ...` and add test