Add unit tests for request.syncCollection