Add tests for user sync changes