I had mistakenly included it in previous diff.
I was trying to reuse the tests of libkopete also. But as structure of libkopete has changed so tests from scratch need to be written. I plan to first write tests for the plugins.