Global and Local scope test