code clean, fix #6 , added carddav test

TODO: caldav tests