Testing optical trackpad