test($compile): add comments to clarify what scopes we expect