Added tests to SyncAdapter. Added copyright notice to new classes.