Add more thorough tests for clipboard usage