Added some tests
Added mor tests
Finished tests of iCloud stack