Fixing a regression from #250; adding some sync var-related tests+notes