Add test for SyncManager.js (in progress)