Add a test for scope syntax