Tests for SyncManager

NB: not done yet: testing sync up when records were locally created or deleted (local updates is covered)
Actually, I'm thinking about it wrong (maps vs. arrays).  Array [1, 2] should not be equal to array [2, 1].  Nevermind. :)