Though this question might look like a one man's issue, link to such a utility could be useful to many others.
I have a Microsoft Optical mouse which occasionally behaves weird. It takes double clicks for a single click, opens a single file twice or thrice and so on. I work on Ubuntu operating system and I am not aware of any tool/website which can let me test my mouse. I am unsure if the same behavior can be seen on a Windows PC. Prior to taking it for a warranty replacement I wish to test it and make sure.